package com.rtx.wms.std.log.service.impl;

import org.springframework.stereotype.Component;

import com.rtx.edi.model.log.po.PlApiRequestLog;
import com.rtx.wms.std.asn.bean.ApiReceiptfinish;
import com.rtx.wms.std.log.bean.WmsLogBo;
import com.rtx.wms.std.log.service.AbsWmsLogService;

@Component
public class ReturnorderConfirmLog extends AbsWmsLogService{

	@Override
	public void mappingLog(WmsLogBo logBo, PlApiRequestLog log) {
		super.mappingLog(logBo, log);
		
		ApiReceiptfinish finish =  (ApiReceiptfinish) logBo.getOriginalData();
		
        log.setLogkey(finish.getExternreceiptkey());
        
        //接收公司名称
        log.setResponseCompanyName(finish.getStorerkey());
        //接收应用名称
        log.setResponseApplicationName(finish.getStorerkey());
        //接口名称
        log.setRequestInterfaceName("returnorder.confirm");
	}

	
	
}
